import { createApp } from "vue";
import App from "./App.vue";
import router from "./configration/router";
import TextCompnent from './components/TextCompnent.vue'
import DCNodeA from '@/components/dyno/DCNodeA.vue'
import DCNodeB from '@/components/dyno/DCNodeB.vue'
import DCNodeC from '@/components/dyno/DCNodeC.vue'


// main ts init layer by base head.

const app = createApp(App);

// 通过InitLayerApi 完成页面结构初始化.
const INIT_LAYER_API = process.env.INIT_LAYER_API
// 请求之后装填在store中.
app.component("dc-node-a",DCNodeA)
app.component("dc-node-b",DCNodeB)
app.component("dc-node-c",DCNodeC)

app.component("text-context",TextCompnent)
app.use(router).mount("#app");
